package cn.bdqn.services.dept.mapper;

import java.util.List;

import cn.bdqn.model.pojo.Warrantytype;
import cn.bdqn.model.pojo.WarrantytypeExample;
import org.apache.ibatis.annotations.Param;

public interface WarrantytypeMapper {
    long countByExample(WarrantytypeExample example);

    int deleteByExample(WarrantytypeExample example);

    int deleteByPrimaryKey(Integer warrantyTypeNumber);

    int insert(Warrantytype record);

    int insertSelective(Warrantytype record);

    List<Warrantytype> selectByExample(WarrantytypeExample example);

    Warrantytype selectByPrimaryKey(Integer warrantyTypeNumber);

    int updateByExampleSelective(@Param("record") Warrantytype record, @Param("example") WarrantytypeExample example);

    int updateByExample(@Param("record") Warrantytype record, @Param("example") WarrantytypeExample example);

    int updateByPrimaryKeySelective(Warrantytype record);

    int updateByPrimaryKey(Warrantytype record);
}